package se.sics.drsm.ports.statemachine.events;

import se.sics.drsm.model.DRSMAddress;
import se.sics.drsm.model.StateMachineConfiguration;
import se.sics.kompics.Event;

/**
 * Created with IntelliJ IDEA.
 * User: Shadid Chowdhury
 */
public class ReConfigurationRequest extends Event {

    private final DRSMAddress sender;
    private final StateMachineConfiguration machineConfiguration;

    public ReConfigurationRequest(DRSMAddress sender, StateMachineConfiguration configuration) {
        this.sender = sender;
        this.machineConfiguration = configuration;
    }

    public StateMachineConfiguration getMachineConfiguration() {
        return machineConfiguration;
    }

    public DRSMAddress getSender() {
        return sender;
    }
}
